<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="net.bolue.sysmng.exception.BolueException"%>
<%
String path = request.getContextPath();
String subSys = request.getParameter("subSys");
String dicKind = request.getParameter("dicKind");
String dicSubKind = request.getParameter("dicSubKind");
if ((subSys == null) || (dicKind == null) ){
	throw new BolueException(5, "request参数错,subSys,dicKind必须提供!");
}
String dicGrpID = request.getParameter("dicGrpID");
String valDicCol = request.getParameter("valDicCol");
String popInputId = request.getParameter("popInputId");
String pDlgId = request.getParameter("pDlgId");
if(pDlgId==null){
	pDlgId = "";
}
if(popInputId==null){
	popInputId = "";
}
String dlgId = request.getParameter("dlgId");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>选择数据项</title>
    <link href="<%=path %>/static/css/frame.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="<%=path %>/static/js/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="<%=path %>/static/js/easyui/themes/icon.css">
    <link href="<%=path %>/static/css/public.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<%=path %>/static/js/jquery.min.js"></script>
	<script type="text/javascript" src="<%=path %>/static/js/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="<%=path %>/static/js/easyui/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="<%=path %>/static/js/toolsUtil.js"></script>
	<script type="text/javascript" src="<%=path %>/static/js/eventUtil.js"></script>
	<script src="<%=path %>/static/js/system.js" type="text/javascript"></script>
	<script src="<%=path %>/static/js/grid.js" type="text/javascript"></script>
	<script src="<%=path %>/static/js/form.js" type="text/javascript"></script>
	<script src="<%=path %>/static/js/report.js" type="text/javascript"></script>
	<script src="<%=path %>/static/js/popDic.js" type="text/javascript"></script>
	<script type="text/javascript">
    	var path = "<%=path%>";
    	var popInputId = "<%=popInputId%>";
    	var pDlgId = "<%=pDlgId%>";
    	var dlgId = "<%=dlgId%>";
    	var reportUrl = "sysmng.popSetDic.do?isShowCnd=0&subSys=<%=subSys%>&dicKind=<%=dicKind%>&dicSubKind=<%=dicSubKind%>&dicGrpID=<%=dicGrpID%>&valDicCol=<%=valDicCol%>";
    	var callerPageURL = "";
    	$(function(){
    		Report.init();
			//隐藏显示查询条件区域
			$('#openOrClose').on("click",function(){
				$('#conditon').toggle(80);
				setTimeout(Report.domresize,100);//条件隐藏，改变表格高度
			});	
		})
    </script>
  </head>
  
  <body>
    <div class="easyui-layout" fit="true">
		<div id="body" region="center" border="false" style="padding: 10px; background: #fff;">
			<div id="search_area" style="display: none;"></div>
			<table id="grid" style="table-layout:fixed;"></table>
		</div>
		<div data-options="region:'south',border:false" style="height:40px;">
			<div style="text-align: center; padding: 5px;" id="btns">
               <a id="btnEp" class="easyui-linkbutton" icon="icon-ok" href="javascript:PopDic.clearPopDic('<%=popInputId %>','<%=pDlgId %>');" >置空</a>
               <a id="btnEp" class="easyui-linkbutton" icon="icon-ok" href="javascript:PopDic.setPopDic('<%=popInputId %>','<%=pDlgId %>',0,',');" >添加</a>
               <a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:PopDic.closePopDic();">关闭</a>
          	</div>
        </div>
	</div>
  </body>
</html>
